<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">

<link rel="stylesheet"
	href="<%=request.getContextPath()%>/CSS/base/jquery.ui.all.css">
<script src="<%=request.getContextPath()%>/JS/jquery-1.8.2.js"></script>
<script src="<%=request.getContextPath()%>/JS/jquery.bgiframe-2.1.2.js"></script>
<script src="<%=request.getContextPath()%>/JS/jquery.ui.core.js"></script>
<script src="<%=request.getContextPath()%>/JS/jquery.ui.widget.js"></script>
<script src="<%=request.getContextPath()%>/JS/jquery.ui.mouse.js"></script>
<script src="<%=request.getContextPath()%>/JS/jquery.ui.button.js"></script>
<script src="<%=request.getContextPath()%>/JS/jquery.ui.draggable.js"></script>
<script src="<%=request.getContextPath()%>/JS/jquery.ui.position.js"></script>
<script src="<%=request.getContextPath()%>/JS/jquery.ui.resizable.js"></script>
<script src="<%=request.getContextPath()%>/JS/jquery.ui.dialog.js"></script>
<script src="<%=request.getContextPath()%>/JS/jquery.ui.effect.js"></script>
<link rel="stylesheet"
	href="<%=request.getContextPath()%>/CSS/demos.css">
<style>
body {
	font-size: 62.5%;
}

label,input {
	display: block;
}

input.text {
	margin-bottom: 12px;
	width: 95%;
	padding: .4em;
}

fieldset {
	padding: 0;
	border: 0;
	margin-top: 25px;
}

h1 {
	font-size: 1.2em;
	margin: .6em 0;
}

div#users-contain {
	width: 700px;
	margin: 20px 0;
	align: center;
}

div#users-contain table {
	margin: 1em 0;
	border-collapse: collapse;
	width: 100%;
}

div#users-contain table td,div#users-contain table th {
	border: 1px solid #eee;
	padding: .6em 10px;
	text-align: center;
}

div#logged-in-as {
	text-align: right;
	text-shadow: blue;
font: oblique;
}

div#role{
	text-align: left;
}

.ui-dialog .ui-state-error {
	padding: .3em;
}

.validateTips {
	border: 1px solid transparent;
	padding: 0.3em;
}
</style>
<title>Welcome Page</title>
</head>

<body>
	<div id="users-contain" class="ui-widget">
		<table id="users" class="ui-widget ui-widget-content">
			<tbody>
				<tr>
					<td height="30" colspan="2"><jsp:include
							page="/JSP/header.jsp"></jsp:include></td>
				</tr>

				<tr>
					<td height="250"><jsp:include page="/JSP/menu.jsp"></jsp:include></td>
					<%
						if ((String) request.getAttribute("whereTo") != null) {
							String whereTo = (String) request.getAttribute("whereTo");
					%>
					<td width="10%"><jsp:include page="<%=whereTo%>"></jsp:include></td>
					<%
						} else {
					%>
					<td width="80%"></td>
					<%
						}
					%>
				</tr>
				<tr>
					<td height="30" colspan="2" align="center"><jsp:include
							page="/JSP/footer.jspf"></jsp:include></td>
				</tr>
			</tbody>
		</table>
	</div>

</body>
</html>